package com.psl.action.work.finishproduct;

import com.psl.services.work.finishProductServices;
import com.psl.services.work.list.halfProductServices;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class fpspass
{
  public String execute()
  {
    HttpServletRequest request = ServletActionContext.getRequest();
    int h_id = Integer.parseInt(request.getParameter("h_id"));
    finishProductServices fps=new finishProductServices();
    fps.updatestatuson(h_id);
    fps.InsertIntoFinishKc(h_id);
    fps.Allprint();
    return "success";
  }
}
